package com.yzlshdg.entity;


import javafx.beans.property.SimpleStringProperty;

/**
 * 数据的实体类，javafx中用到的 数据模型类
 */
public class BaGua {

   /* private String eight;
    private String shiW;
    private String fuH;
    private String fangX;
    private String jieQ;
    private String yueF;
    private String yueX;
    private String zhouY;
    public BaGua() {
        // 空的构造方法
    }
    public BaGua(String eight, String shiW, String fuH, String fangX, String jieQ, String yueF, String yueX, String zhouY) {
        this.eight = eight;
        this.shiW = shiW;
        this.fuH = fuH;
        this.fangX = fangX;
        this.jieQ = jieQ;
        this.yueF = yueF;
        this.yueX = yueX;
        this.zhouY = zhouY;
    }

    public String getEight() {
        return eight;
    }

    public void setEight(String eight) {
        this.eight = eight;
    }

    public String getShiW() {
        return shiW;
    }

    public void setShiW(String shiW) {
        this.shiW = shiW;
    }

    public String getFuH() {
        return fuH;
    }

    public void setFuH(String fuH) {
        this.fuH = fuH;
    }

    public String getFangX() {
        return fangX;
    }

    public void setFangX(String fangX) {
        this.fangX = fangX;
    }

    public String getJieQ() {
        return jieQ;
    }

    public void setJieQ(String jieQ) {
        this.jieQ = jieQ;
    }

    public String getYueF() {
        return yueF;
    }

    public void setYueF(String yueF) {
        this.yueF = yueF;
    }

    public String getYueX() {
        return yueX;
    }

    public void setYueX(String yueX) {
        this.yueX = yueX;
    }

    public String getZhouY() {
        return zhouY;
    }

    public void setZhouY(String zhouY) {
        this.zhouY = zhouY;
    }*/
//    SimpleStringProperty是JavaFX中的一个类，它用于将字符串属性与JavaFX控件进行绑定
    private final SimpleStringProperty eight;
    private final SimpleStringProperty shiW;
    private final SimpleStringProperty fuH;
    private final SimpleStringProperty fangX;
    private final SimpleStringProperty jieQ;
    private final SimpleStringProperty yueF;
    private final SimpleStringProperty yueX;
    private final SimpleStringProperty zhouY;




    public BaGua(String eight, String shiW, String fuH, String fangX, String jieQ, String yueF, String yueX, String zhouY) {
        this.eight = new SimpleStringProperty(eight);
        this.shiW = new SimpleStringProperty(shiW);
        this.fuH =new SimpleStringProperty(fuH);
        this.fangX = new SimpleStringProperty(fangX);
        this.jieQ = new SimpleStringProperty(jieQ);
        this.yueF = new SimpleStringProperty(yueF);
        this.yueX = new SimpleStringProperty(yueX);
        this.zhouY = new SimpleStringProperty(zhouY);
    }

    public String getEight() {
        return eight.get();
    }

    public SimpleStringProperty eightProperty() {
        return eight;
    }

    public void setEight(String eight) {
        this.eight.set(eight);
    }

    public String getShiW() {
        return shiW.get();
    }

    public SimpleStringProperty shiWProperty() {
        return shiW;
    }

    public void setShiW(String shiW) {
        this.shiW.set(shiW);
    }

    public String getFuH() {
        return fuH.get();
    }

    public SimpleStringProperty fuHProperty() {
        return fuH;
    }

    public void setFuH(String fuH) {
        this.fuH.set(fuH);
    }

    public String getFangX() {
        return fangX.get();
    }

    public SimpleStringProperty fangXProperty() {
        return fangX;
    }

    public void setFangX(String fangX) {
        this.fangX.set(fangX);
    }

    public String getJieQ() {
        return jieQ.get();
    }

    public SimpleStringProperty jieQProperty() {
        return jieQ;
    }

    public void setJieQ(String jieQ) {
        this.jieQ.set(jieQ);
    }

    public String getYueF() {
        return yueF.get();
    }

    public SimpleStringProperty yueFProperty() {
        return yueF;
    }

    public void setYueF(String yueF) {
        this.yueF.set(yueF);
    }

    public String getYueX() {
        return yueX.get();
    }

    public SimpleStringProperty yueXProperty() {
        return yueX;
    }

    public void setYueX(String yueX) {
        this.yueX.set(yueX);
    }

    public String getZhouY() {
        return zhouY.get();
    }

    public SimpleStringProperty zhouYProperty() {
        return zhouY;
    }

    public void setZhouY(String zhouY) {
        this.zhouY.set(zhouY);
    }
}
